package com.linkelee.server;


import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * rpc服务中心启动类
 * @author lsl
 * @since 2019-02-18
 */


@SpringBootApplication
@ComponentScan(basePackages={"com.linkelee.*"})
@EnableDubbo
public class RpcNotifyServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(RpcNotifyServerApplication.class, args);
        System.out.println("  _____  _____   _____      _____ ______ _______      ________ _____  \n" +
                " |  __ \\|  __ \\ / ____|    / ____|  ____|  __ \\ \\    / /  ____|  __ \\ \n" +
                " | |__) | |__) | |   _____| (___ | |__  | |__) \\ \\  / /| |__  | |__) |\n" +
                " |  _  /|  ___/| |  |______\\___ \\|  __| |  _  / \\ \\/ / |  __| |  _  / \n" +
                " | | \\ \\| |    | |____     ____) | |____| | \\ \\  \\  /  | |____| | \\ \\ \n" +
                " |_|  \\_\\_|     \\_____|   |_____/|______|_|  \\_\\  \\/   |______|_|  \\_\\");
    }

}
